package com.oa.admin.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel("请假申请列表")
@Data
public class LeaveApplyListVO {

    @ApiModelProperty("请假ID")
    private String id;

    @ApiModelProperty("申请人名称")
    private String name;

    @ApiModelProperty("部门部门")
    private String department;

    @ApiModelProperty("假期名称")
    private String holidayName;

    @ApiModelProperty("申请时间")
    private String createTime;

    @ApiModelProperty("请假开始时间")
    private Date leaveStartTime;

    @ApiModelProperty("请假结束时间")
    private Date leaveEndTime;

    @ApiModelProperty("时间开始段")
    private Integer timeStartSlot;

    @ApiModelProperty("时间结束段")
    private Integer timeEndSlot;

    @ApiModelProperty("节点ID")
    private String approvalNodeId;

    @ApiModelProperty("请假文件名称")
    private String leaveFileName;

    @ApiModelProperty("请假文件地址")
    private String leaveFileAddress;

    @ApiModelProperty("是否需要上传文件(1-是 2-否)")
    private Integer fileUpload;

    @ApiModelProperty("审核状态(1-通过 2-未通过 else 待审批)")
    private Integer status;

    @ApiModelProperty("审核状态文本")
    private String statusText;

}
